<%@include file="taglib_includes.jsp" %>
<html>
<head>
<title><spring:message code="Add.AddFacultyInfo.Title"></spring:message></title>
</head>
<body>
<table  bgcolor="white" width="750" height="500" align="center" style="border-collapse: collapse;" border="1" bordercolor="#006699" >
	<tr>
		<td align="center" style="background-color: lightblue"><h3>Add Faculty</h3></td>
	</tr>
	<tr>
		<td align="left" style="background-color: lightblue"><h4>Faculty Information</h4></td>
	</tr>
	
	<tr valign="middle" align="center">
	<td align="center" valign="middle">
 		<form:form action="facultyInfo" method="post" commandName="faculty_info">
 			<table width="650" height="350" style="border-collapse: collapse;" border="0" bordercolor="#006699" cellspacing="2" cellpadding="2">
 				<tr>
						<td width="100" align="right">First Name*</td>
						<td width="150">
						<form:input path="firstName"/></td>
						<td align="left">
						<form:errors path="firstName" cssStyle="color:red"></form:errors> 
						</td>
					</tr>
					
					<tr>
						<td width="100" align="right">Last Name*</td>
						<td width="150">
						<form:input path="lastName"/></td>
						<td align="left">
						<form:errors path="lastName" cssStyle="color:red"></form:errors> 
						</td>
					</tr>
					
					<tr Valign="top">
						<td width="135" align="right">Sex*</td>
						<td width="150">
						<form:select path="sex">
						<form:option value="NONE" label="--- Select ---"/>
						<form:option value="M" label="Male"/>
						<form:option value="F" label="Female"/>					
						</form:select>
						</td>
						<td align="left">
						<form:errors path="sex" cssStyle="color:red"></form:errors> 
						</td>
					</tr>
					
					<tr>
						<td width="100" align="right">Designation*</td>
						<td width="150">
						<form:select path="designation">
						<form:option value="NONE" label="--- Select ---"/>
						<form:option value="M" label="Director"/>
						<form:option value="F" label="Principal"/>	
						<form:option value="M" label="Professor"/>
						<form:option value="F" label="Asst Professor"/>	
						<form:option value="F" label="Senior Lecturer"/>	
						<form:option value="F" label="Lecturer"/>	
						</form:select>
						</td>
						<td align="left">
						<form:errors path="designation" cssStyle="color:red"></form:errors> 
						</td>
					</tr>
					
					<tr>
						<td width="100" align="right">DOJ*</td>
						<td width="150">
						<form:input path="doj"/></td>
						<td align="left">
						<form:errors path="doj" cssStyle="color:red"></form:errors> 
						</td>
					</tr>
					
					<tr>
						<td width="100" align="right">DOB*</td>
						<td width="150">
						<form:input path="dob"/></td>
						<td align="left">
						<form:errors path="dob" cssStyle="color:red"></form:errors> 
						</td>
					</tr>
					
					<tr>
						<td width="100" align="right">Email*</td>
						<td width="150">
						<form:input path="email"/></td>
						<td align="left">
						<form:errors path="email" cssStyle="color:red"></form:errors> 
						</td>
					</tr>
					
					<tr>
						<td width="100" align="right">Status*</td>
						<td width="150">
						<form:select path="status">
						<form:option value="Y" label="Enabled"/>
						<form:option value="N" label="Disabled"/>
						</form:select>
						</td>
						<td align="left">
						<form:errors path="status" cssStyle="color:red">
						 </form:errors> 
						</td>
					</tr>			
					
					<tr>
						<td colspan="3" align="center">
						<input type="submit" name="" value="Next">
						&nbsp;&nbsp;
						<input type="reset" name="" value="Reset">
						
						</td>
						
					</tr>	
						
 			</table>
 			<tr align="center">
						<td width="100" align="center"><B>
						${savedMsg}
						</B>
						</td>
						</tr>	
 		</form:form>
 		</td>
 		</tr>
</table>
</body>
</html>